package designpattern.facade;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public class Client2 {

    private AuthService authService;
    private UserService userService;
    private SsoService ssoService;
    private BusinessService businessService;

    public void doIt(){
        String token = "";
        Result auth = authService.auth(token);
        Result userInfo = userService.userInfo(token);
        Result ssoLogin = ssoService.ssoLogin(token);
        Result query = businessService.query("123");
        Result save = businessService.save(new Order());
    }
}
